Click here to show toolbars of the Web Online Help System: show toolbars |
filename_drive(fname);
参数 | 描述 |
---|---|
fname | 要使用的文件。 |
返回: String(字符串)。
此函数返回文件名的驱动器信息。
drive =
filename_drive(file_find_first(working_directory + "*.doc",
0));
上面的代码获取指定文件的驱动器信息(作为字符串)。